#ifndef LOG_H
#define LOG_H

#include <QString>
#include <QCoreApplication>
#include "log_global.h"
#include "log4cplus/appender.h"
#include "log4cplus/fileappender.h"
#include "log4cplus/logger.h"
#include "log4cplus/loggingmacros.h"
#include "log4cplus/configurator.h"
#include "log4cplus/tstring.h"

class  LOG_EXPORT Log
{
public:
    Log();
    ~Log();

    static void debug(const QString &message);
    static void info(const QString &message);
    static void warn(const QString &message);
    static void error(const QString &message);
    static void shutdown();

    static void initLog4cplus();
    static log4cplus::Logger getLogger();
};


#endif // LOG_H
